from datetime import datetime
# 获取当前时间
now = datetime.now()

# 格式化输出当前时间
current_time = now.strftime('%Y-%m-%d %H-%M-%S')
# print(current_time)